package com.bookcity.enums;

/**
 * @Author: Trioutia
 * @Date: 2022/5/11 - 05 - 11 - 10:20
 * @Description: com.bookcity.common
 * @version: 1.0
 */
public enum BookPermission implements BaseEnum{    //  其他(权限)
    //  全部, 特价 , 免费 , VIP
    All(0), Special(1), Free(2), VIP(4);

    private int id;

    BookPermission(int id) {
        this.id = id;
    }

    @Override
    public int getCode() {
        return id;
    }

}

